package com.ruoyi.web.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.model.BaseModel;

import java.util.Date;

/**
 * Description: com.ruoyi.web.model
 * User: hushibo
 * Date: 2021-12-13 15:31
 * Time: 15:31
 * Version: 1.0
 */
public class PictureModel  extends BaseModel {

    private static final long serialVersionUID = 2949981908750413988L;

//    private Long honorPictureId;
//    private Long honorId;

    private Long pictureId;
//    private int displayOrder;
    private String name;
    private String url;

    /** 媒体类型 */
    @Excel(name = "媒体类型")
    private String mimeType;

    /** 原文件名 */
    @Excel(name = "原文件名")
    private String originalFilename;

    /** seo名 */
    @Excel(name = "seo名")
    private String seoFilename;

    /** 别名 */
    @Excel(name = "别名")
    private String altAttribute;

    /** 标题 */
    @Excel(name = "标题")
    private String titleAttribute;

    /** 地址 */
    @Excel(name = "地址")
    private String virtualPath;

    /** 图片类型 */
    @Excel(name = "图片类型")
    private Integer pictureType;

    /** 新图片 */
    @Excel(name = "新图片")
    private Integer bNew;

    /** 创建者 */
    @Excel(name = "创建者")
    private String createdBy;


    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

//    public Long getHonorPictureId() {
//        return honorPictureId;
//    }
//
//    public void setHonorPictureId(Long honorPictureId) {
//        this.honorPictureId = honorPictureId;
//    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

//    public void setHonorId(Long honorId)
//    {
//        this.honorId = honorId;
//    }
//
//    public Long getHonorId()
//    {
//        return honorId;
//    }

    public void setPictureId(Long pictureId)
    {
        this.pictureId = pictureId;
    }

    public Long getPictureId()
    {
        return pictureId;
    }

//    public int getDisplayOrder() {
//        return displayOrder;
//    }
//
//    public void setDisplayOrder(int displayOrder) {
//        this.displayOrder = displayOrder;
//    }

    public void setMimeType(String mimeType)
    {
        this.mimeType = mimeType;
    }

    public String getMimeType()
    {
        return mimeType;
    }
    public void setOriginalFilename(String originalFilename)
    {
        this.originalFilename = originalFilename;
    }

    public String getOriginalFilename()
    {
        return originalFilename;
    }
    public void setSeoFilename(String seoFilename)
    {
        this.seoFilename = seoFilename;
    }

    public String getSeoFilename()
    {
        return seoFilename;
    }
    public void setAltAttribute(String altAttribute)
    {
        this.altAttribute = altAttribute;
    }

    public String getAltAttribute()
    {
        return altAttribute;
    }
    public void setTitleAttribute(String titleAttribute)
    {
        this.titleAttribute = titleAttribute;
    }

    public String getTitleAttribute()
    {
        return titleAttribute;
    }
    public void setVirtualPath(String virtualPath)
    {
        this.virtualPath = virtualPath;
    }

    public String getVirtualPath()
    {
        return virtualPath;
    }
    public void setPictureType(Integer pictureType)
    {
        this.pictureType = pictureType;
    }

    public Integer getPictureType()
    {
        return pictureType;
    }
    public void setbNew(Integer bNew)
    {
        this.bNew = bNew;
    }

    public Integer getbNew()
    {
        return bNew;
    }
    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setCreatedAt(Date createdAt)
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt()
    {
        return createdAt;
    }

    @Override
    public String toString() {
        return "HonorPictureModel{" +
                "pictureId=" + pictureId +
//                ", honorId=" + honorId +
//                ", pictureId=" + pictureId +
//                ", displayOrder=" + displayOrder +
                ", name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", mimeType='" + mimeType + '\'' +
                ", originalFilename='" + originalFilename + '\'' +
                ", seoFilename='" + seoFilename + '\'' +
                ", altAttribute='" + altAttribute + '\'' +
                ", titleAttribute='" + titleAttribute + '\'' +
                ", virtualPath='" + virtualPath + '\'' +
                ", pictureType=" + pictureType +
                ", bNew=" + bNew +
                ", createdBy='" + createdBy + '\'' +
                ", createdAt=" + createdAt +
                '}';
    }
}
